/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Usuario
 */

import java.util.Random;
public class BingoCard implements IBingoCard {
    //hasta 14 numeros
    int[]  bingo = new int[15];

    public BingoCard() {
        Random random = new  Random();
        for(int i =0; i < bingo.length; i++)
        {//para numeros del 1 al 99
            bingo[i]=random.nextInt(100);
        }
        
    }

    public int[] getBingo() {
        return bingo;
    }

    public void setBingo(int[] bingo) {
        this.bingo = bingo;
    }

    @Override
    public String toString() {
    
        String s= "[";
        for (int i =0; i< bingo.length; i++){
            s=s+bingo[i]+ " , ";
        }
        
        return s+ "]";
    }

    @Override
  public void syso(){
      System.out.println(this.toString());
  }
    
}
